package aries.database;

/******************************************************************************
 * You may modify, publish, and use Aries for your own purpose. BUT
 * DON'T REMOVE THIS TEXT.
 * Visit my facebook: http://www.facebook.com/freeskies or
 * Follow my twitter: @freeskys
 *
 *
 * Author: Harditya Rahmat Ramadhan
 * Licence: GPLv2
 *****************************************************************************/

public class Field {

    private String[] field, type, length;
    
    /**
     * Constructor. Remember to put primary key in first arrays.
     * 
     * @param field 
     */
    public Field(Field field) {
        this.field = field.getField();
        this.type = field.getType();
        this.length = field.getLength();
    }
    
    /**
     * Constructor. Remember to put primary key in first arrays.
     * 
     * @param field
     * @param type
     * @param length 
     */
    public Field(String[] field, String[] type, String[] length) {
        this.field = field;
        this.type = type;
        this.length = length;
    }

    /**
     * Get field.
     *
     * @return String[]
     */
    public String[] getField() {
        return field;
    }

    /**
     * Get type.
     *
     * @return String[]
     */
    public String[] getType() {
        return type;
    }
    
    /**
     * Get length.
     * 
     * @return String[]
     */
    public String[] getLength() {
        return length;
    }

}
